package com.example.chcrm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.chcrm.entity.common.ResponseMsg;
import com.example.chcrm.entity.common.TArea;
import com.example.chcrm.entity.employee.RoleModels;

import java.util.List;
import java.util.Map;

/**
 * @Author 邹
 * @Date 2025/4/23 0:58
 * @Version 1.0
 */
public interface TAreaService <T>{
    ResponseMsg<IPage<TArea>> pageList(TArea tArea);

    ResponseMsg<Object> update(TArea roleModels);

    ResponseMsg<Object> delete(String id);

    ResponseMsg<Object> add(TArea roleModels);

    List<Map<String, Object>> getSecondLevelArea(String level);
}
